import myAxios from "@/request/myAxios";

// 队伍聊天室
export const getTeamChat = (teamId:number) => {
  return myAxios.post('/chat/teamChat',{teamId})
}

// 私信聊天室
export const getUserChat = (toId:number) => {
  return myAxios.post('/chat/privateChat',{toId})
}

// 大厅聊天室
export const getHallChat = () => {
  return myAxios.get('/chat/hallChat')
}